package com.briup.jz.service;

import com.briup.jz.bean.Category;
import com.briup.jz.bean.Role;
import com.briup.jz.bean.extend.CategoryExtend;
import com.briup.jz.utils.CustomerException;

import java.util.List;

public interface IRoleService {

    List<Role> findAll();



    Role findById(long id);

    void saveOrEdit(Role role) throws CustomerException;

    void delById(long id) throws CustomerException;

}